using System;
using NHibernate;

namespace Crawler.DataServices.Persistence.UnitOfWork
{
	internal interface IUnitOfWork : IDisposable
	{
		ISession Session { get; }
		void Commit();

		bool IsReadOnly { get; }
		void SetToWorkWithContent();
	}
}